{* 默认sku时
{if $star_list}
<div class="con-botm clearfix">
  <h2 class="tit">明星商品</h2>
  {foreach $star_list as $k=>$v}
  {$cover = goods_helper::get_goods_cover($v.id)}
  {$sku_id = goods_helper::get_only_sku_id($v.id)}
  <div class="shift">
    <dl>
      <dt><img src="{_image($cover, 'big')}" width="284"/></dt>
      <dd class="unlike">{$v.title}</dd>
      <dd class="unlike2">{$v.price}元</dd>
    </dl>
    <div class="add clearfix">
      <a href="javascript:void(0);" class="js_addStarGoodsToCart" data-sku_id="{$sku_id}" data-goods_num="1">加入购物车</a>
    </div>
  </div>
  {/foreach}
</div>
{/if}
*}

{if $star_list && 1 != 1}
<style>
  @media only screen and (min-width: 1280px) {
    .con-botm .shift{ padding: 7px; width: 282px; height: 454px; margin-right: 0px; border:solid 1px #fff; }
    .con-botm .shift:hover{ border:solid 1px #cccccc; } 
    .con-botm .shift dl dt{ width: 282px; height: 320px; }
    .con-botm .shift dl dt img{ width: auto; height: auto; }
    .con-botm .shift .add{ border:0; }
    .con-botm .shift dl dd{ padding:5px 0px 0px 0px; }
    .con-botm .shift .add a{ margin: 410px 0px 0px 80px; }
  }
  @media only screen and (max-width: 1280px) {
    .con-botm .shift{ padding: 7px; width: 236px; height: 400px; margin-right: 0px; border:solid 1px #fff; }
    .con-botm .shift:hover{ border:solid 1px #cccccc; }
    .con-botm .shift dl dt{ width: 236px; height: 270px; }
    .con-botm .shift dl dt img{ width: auto; height: auto; }
    .con-botm .shift .add{ border:0; }
    .con-botm .shift dl dd{ padding:5px 0px 0px 0px; }
    .con-botm .shift .add a{ margin: 360px 0px 0px 60px; }
  }
</style>
<div class="con-botm clearfix">
  <h2 class="tit">热门商品</h2>
  {foreach $star_list as $k=>$v}
  {$cover = goods_helper::get_goods_cover($v.id)}
  {$sku_id = goods_helper::get_only_sku_id($v.id)}
  <div class="shift" {if $k == 3}style="margin-right: 0px;"{/if}>
    <dl>
      <dt class="js_hotGoodsList"><img src="{_image($cover, 'big')}" /></dt>
      <dd class="unlike not-line">{$v.title}</dd>
      <dd class="unlike2">{$v.price}元</dd>
    </dl>
    <div class="add clearfix">
      <a href="javascript:void(0);" class="js_openLink" data-href="{AnUrl("goods/{$v.id}")}">查看详情</a>
    </div>
  </div>
  {/foreach}
</div>
{/if}